package sz.com.postoffice.jxyzwgcase.service;

import sz.com.postoffice.jxyzwgcase.core.TableDataInfo;
import sz.com.postoffice.jxyzwgcase.pojo.Employee;
import sz.com.postoffice.jxyzwgcase.pojo.Vacation;

import java.util.List;

/**
 * @ClassName EmployeeService
 * @Deacription
 * @Author jmx
 * @Date 2020/11/22 17:59
 * @Version 1.0
 */
public interface EmployeeService extends BaseService<Employee>{
    List<Vacation> findVacationByEntity(Vacation vacation);
    List<Vacation> findVacationByPeriod(Vacation vacation);
    boolean deleteVacationById(int id);
    Vacation findVacationById(int id);
    boolean insertVacation(Vacation vacation);
    boolean updateVacation(Vacation vacation);
}
